package com.xyht.sca_s.student_manage_system.modules.welcomeNewStudent.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 学费缓交审批详情（流程节点）
 * </p>
 *
 * @author XYHT
 * @since 2024-01-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_wns_school_fees_delay_detail")
@ApiModel(value="SmsWnsSchoolFeesDelayDetail对象", description="学费缓交审批详情（流程节点）")
public class SmsWnsSchoolFeesDelayDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "流程节点id")
    private String id;

    @ApiModelProperty(value = "审批表id")
    private String applyId;

    @ApiModelProperty(value = "系统流程节点id")
    private String processId;

    @ApiModelProperty(value = "系统流程节点名")
    private String processName;

    @ApiModelProperty(value = "流程对象类型：1是个人，2是角色")
    private Integer processObjectType;

    @ApiModelProperty(value = "流程对象id 角色id或者个人id")
    private String processObjectId;

    @ApiModelProperty(value = "审批人id")
    private String detailAllowUserId;

    @ApiModelProperty(value = "审批状态：0：待审批  1：通过  2：驳回  3：撤回结束  4：驳回结束 5:强制归档 6:强制驳回")
    private Integer detailAllowStatus;

    @ApiModelProperty(value = "流程节点申请人是否可编辑：0不可编辑，1可编辑")
    private Boolean processIsApplicationEdit;

    @ApiModelProperty(value = "审批时间")
    private Date detailAllowTime;

    @ApiModelProperty(value = "审批意见")
    private String detailAllowOption;

    @ApiModelProperty(value = "是否签名：0不签名，1签名")
    private Boolean processIsSign;

    @ApiModelProperty(value = "审批签字")
    private String detailAllowSign;

    @ApiModelProperty(value = "是否盖章：0不盖章，1盖章")
    private Boolean processIsStamp;

    @ApiModelProperty(value = "审批盖章")
    private String detailAllowStamp;

    @ApiModelProperty(value = "审批排序")
    private Integer detailSort;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "是否删除：0：未删除 1：已删除")
    @TableLogic
    private Integer isDeleted;


}
